#include <QAbstractSocket>
#include "smtp.h"

Smtp::Smtp()
{
    connect(&m_socket, SIGNAL(connected()), this, SLOT(slotConnected()));
    connect(&m_socket, SIGNAL(hostFound()), this, SLOT(slotConnected()));
    m_socket.connectToHost("smtp.163.c0m", 25);
    
}

void Smtp::slotConnected()
{
    int i = 0;
}

bool Smtp::createConnection()
{
    return true;
}